// samsting : this file is auto create.

#include "Ocs/2015-03-01/DescribeMonitorItemsResponse.h"

namespace aliyun { namespace Ocs {

DescribeMonitorItemsResponse::DescribeMonitorItemsResponse() {
}

const string& DescribeMonitorItemsResponse::OcsMonitorItem::GetMonitorKey(void) const {
  return MonitorKey_;
}

const string& DescribeMonitorItemsResponse::OcsMonitorItem::GetUnit(void) const {
  return Unit_;
}

const std::vector<DescribeMonitorItemsResponse::OcsMonitorItem>& DescribeMonitorItemsResponse::GetMonitorItems(void) const {
  return MonitorItems_;
}

const char* DescribeMonitorItemsResponse::BaseKey(void) {
  return "DescribeMonitorItemsResponse";
}

void DescribeMonitorItemsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int MonitorItems__length = 0;
  UnmarshallerInt(MonitorItems__length, response_map, "DescribeMonitorItemsResponse.MonitorItems.Length");
  if(MonitorItems__length >= 0) {
    MonitorItems_.resize(MonitorItems__length);
    for(int i1 = 0; i1 < MonitorItems__length; i1++) {
      UnmarshallerString(MonitorItems_[i1].MonitorKey_, response_map, "DescribeMonitorItemsResponse.MonitorItems["+string_ValueOfInt(i1)+"].MonitorKey");
      UnmarshallerString(MonitorItems_[i1].Unit_, response_map, "DescribeMonitorItemsResponse.MonitorItems["+string_ValueOfInt(i1)+"].Unit");
    } // for(int i1 = 0; i1 < MonitorItems__length; i1++) {
  } // if(MonitorItems__length >= 0) {

}


} } // namespace aliyun { namespace Ocs {

// end of file 
